package cn.tedu.client.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("user_wallet")
public class Wallet {

    @TableId("id")
    Long id;

    @TableField("user_id")
    Integer userId;

    @TableField("user_name")
    String username;

    @TableField("balance")
    Long balance;

    @TableField("earning")
    Long earning;

    @TableField("create_time")
    Date createTime;

    @TableField("update_time")
    Date updateTime;

}
